# -*- coding: utf-8 -*-
import views.index

routings = [

    (r"/api/code/getcode", views.index.GetCode),     # 小程序调用 获取二维码
    (r"/api/code/analyzecode", views.index.CodeToUser), #
    (r"/api/user/verifyopen", views.index.VerifyUserPasswordOpen), # 用户绑定 存储明文密码
    (r"/api/user/verify", views.index.VerifyUserPasswordMd5),      # 用户绑定 存储密文密码
    (r"/api/user/openid",views.index.GetOpenId),              #获取用户 openid
    (r"/api/user/userinfo",views.index.UserInfo),            #获取用户信息
    (r"/api/user/schoollist",views.index.Schoollist), #获取学校列表
    (r"/api/user/unbind",views.index.unbind),         #用户解绑
    (r"/api/user/templatesend",views.index.sendmess2user),         #推送模板消息



]